package com.pkx.cloud.fse7.expand.group.feign.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pkx.cloud.mybatis.comn.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 场地表
 *
 * @author zcx
 * @since 2020-10-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("plat_yard")
@ApiModel(value = "Yard对象", description = "场地表")
public class Yard extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "场地ID")
    @TableId(value = "yard_id", type = IdType.ASSIGN_ID)
    private String yardId;

    @ApiModelProperty(value = "场地代码")
    private String code;

    @ApiModelProperty(value = "场地状态")
    private String enabled;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "上级场地名称")
    private String patName;

    @ApiModelProperty(value = "上级场地uuid")
    private String patUuid;

    @ApiModelProperty(value = "显示状态")
    private String visible;

    @ApiModelProperty(value = "层级")
    private Integer yardLevel;

    @ApiModelProperty(value = "祖级列表")
    private String path;

    @ApiModelProperty(value = "权重")
    private String weight;

    @ApiModelProperty(value = "备注")
    private String remark;

}
